{extend name='layui/base'/}

{block name="style"}
<style>

</style>
{/block}
{block name="main"}
<div class="main_content">
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
        <legend>芳华音乐学堂</legend>
    </fieldset>
    <!--<header class="mui-bar mui-bar-nav">-->
    <!--<h1 class="mui-title">芳华音乐学堂</h1>-->
    <!--</header>-->
    <form id='login-form' class="layui-form layui-form-pane login" action="{:url('doLogin')}">
        <div class="layui-form-item">
            <label class="layui-form-label">手机号</label>
            <div class="layui-input-block">
                <input type="text" name='phone'  autocomplete="off" lay-verify="required" placeholder="请输入手机号" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">密码</label>
            <div class="layui-input-block">
                <input name='password' type="password"  lay-verify="required"  class="layui-input" placeholder="请输入密码">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">单行输入框</label>
            <div class="layui-input-block">
                <input type="text" name="title" lay-verify="required" autocomplete="off" placeholder="请输入标题" class="layui-input layui-form-danger">
            </div>
        </div>
        <div>
            <button class="layui-btn" lay-submit="" lay-filter="demo1">立即提交</button>
            <button id='login' lay-submit="" type="submit" class="layui-btn" lay-filter="*">登录</button>
            <div class="link-area">
                <a id='reg' href="{:url('signIn')}">注册账号</a>
                <span class="spliter">|</span>
                <a id='forgetPassword' href="{:url('forgetPass')}">忘记密码</a>
            </div>
        </div>
    </form>
</div>
{/block}